package com.dashan.frontend.client.util;

import com.gwtext.client.data.Record;
import com.gwtext.client.data.Store;
import com.gwtext.client.data.XmlReader;

public class DashanXmlReader {
    public static Record[] fetchFromXml(String response, XmlReader reader) {
        Store store = new Store(reader);
        store.loadXmlData(response, false);
        
        return store.getRecords();
    }
}
